package com.itqf.enums;

import lombok.Getter;

/**
 * 作者:高少东
 * 项目名:  product_gsd
 * 时间: 2019/12/18 21:54
 * 描述:
 */

@Getter
public enum  Rexum {

     PARAMPER_ERROR(1,"参数不合法"),
     ACCOUNT_ERROR(2,"账号错误"),
     PASSWORD_ERROR(3,"密码错误"),
     NOT_KNOW_ERROR(4,"未知错误"),
     Account_EXIST(5,"账号已经存在"),
     User_NOT_LOGIN(6,"用户未登录");

    private Integer code;

    private String msg;

    Rexum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
